{% extends "../base.html" %}

{% block head_title %}
{{title}}
{% endblock %}


{% block head_scripts %}
<!-- <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="/assets/js/lib/jquery/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="/assets/js/lib/bootstrap/bootstrap.min.js"></script> -->
<script type="text/javascript">
	requirejs(['jquery', 'bootstrap']);
</script>
{% endblock %}

{% block content %}
<div class="container" style="padding:0px 10px; width:900px;">
	<h2 class="text-center">{{title}}</h2>
	<input style="width:100%;" type="text" id="token" name="_jwt_token" value="{{token}}" /><br />
	<input style="width:100%;" type="text" placeholder="接口URL" id="url" name="url"  value="http://{{_conf.Server.DomainApi}}?id=1"/><br />
	<button type="submit" id="foo">测试</button>
	<br /><br />
	<textarea  style="width:100%; height:200px;" placeholder="接口数据" id="api_data"></textarea>
</div>
<script type="text/javascript">
	requirejs(['../app/jwt/jwt']);
</script>
{% endblock %}